# set
# {}
s = {2, 3, 4, 5, 6, 7, 7}
print(s, type(s))

# 内置函数set
s1 = set(range(6))
print(s1, type(s1))

# 列表转set
s2 = set([1, 2, 3, 4, 5, 5, 5, 6, 6])
print(s2, type(s2))

# 元组转set
s3 = set((1, 2, 4, 4, 5, 65))
print(s3, type(s3))

s4 = set('python')
print(s4, type(s4))

s5 = set({12, 4, 34, 55, 66, 44, 4})
print(s5, type(s5))

# 空集合
s7 = set()
print(s7)
